//
//  HLRecommendModel.swift
//  HLXiMaLaYa
//
//  Created by hulinhu on 2018/1/24.
//  Copyright © 2018年 hulinhu. All rights reserved.
//

import Foundation
import ObjectMapper

class HLRecommendModel: Mappable {
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        
        albumId <- map["albumId"]
        categoryId <- map["categoryId"]
        commentScore <- map["commentScore"]
        commentsCount <- map["commentsCount"]
        discountedPrice <- map["discountedPrice"]
        
        displayDiscountedPrice <- map["displayDiscountedPrice"]
        displayPrice <- map["displayPrice"]
        materialType <- map["materialType"]
        pic <- map["pic"]
        playsCount <- map["playsCount"]
        
        price <- map["price"]
        priceTypeEnum <- map["priceTypeEnum"]
        priceUnit <- map["priceUnit"]
        recSrc <- map["recSrc"]
        recTrack <- map["recTrack"]
        
        subtitle <- map["subtitle"]
        title <- map["title"]
        tracksCount <- map["tracksCount"]
        isFinished <- map["isFinished"]
        coverPath <- map["coverPath"]
        
        footnote <- map["footnote"]
        coverLarge <- map["coverLarge"]
        name <- map["name"]
        nickname <- map["nickname"]
        intro <- map["intro"]
        
        tracks <- map["tracks"]
        playsCounts <- map["playsCounts"]
        coverMiddle <- map["coverMiddle"]
        tags <- map["tags"]
        trackId <- map["trackId"]
        
        trackTitle <- map["trackTitle"]
        displayVipPrice <- map["displayVipPrice"]
    }
    
    var albumId = 0
    var categoryId = 0
    var commentScore = 0
    var commentsCount = 0
    var discountedPrice = 0
    
    var displayDiscountedPrice = ""
    var displayPrice = ""
    var materialType = ""
    var pic = ""
    var playsCount = 0
    
    var price = 0
    var priceTypeEnum = 0
    var priceUnit = ""
    var recSrc = ""
    var recTrack = ""
    
    var subtitle = ""
    var title = ""
    var tracksCount = 0
    var isFinished = 0
    var coverPath = ""
    
    var footnote = ""
    var coverLarge = ""
    var name = ""
    var nickname = ""
    var intro = ""
    
    var tracks = 0
    var playsCounts = 0
    var coverMiddle = ""
    var tags = ""
    var trackId = 0
    
    var trackTitle = ""
    var displayVipPrice = ""

}
